1 Introduction of Malaysia

Malaysia is the 66th largest country by land area, spanning 330,803 km². It shares land borders with Thailand, Indonesia, and Brunei, and is connected to Singapore by a causeway and bridge. Malaysia has maritime boundaries with Vietnam and the Philippines. The country’s geography is marked by significant features like the Perlis River and the Golok River, while the Strait of Malacca is a crucial global trade route, handling 40% of the world’s trade.

Economically, Malaysia is the fifth largest economy in Southeast Asia and ranks 36th globally in nominal GDP, expected to approach half a trillion USD by the end of 2024. By purchasing power parity, its GDP is the 30th largest. The country boasts high labor productivity, ranking third in ASEAN and surpassing Indonesia, Vietnam, and the Philippines. The Global Competitiveness Report of 2021 ranked Malaysia as the 25th most competitive economy worldwide.

  • Capital: Federal Territory of Kuala Lumpur

  • Area: 330,803 km2

  • Population: 33.94 million

  • Religion: Islam, Buddhism, Christianity, Hinduism, Confucianism, Taoism and other traditional Chinese religions.

  • Languages: Malay, plus English

  • Life expectancy: 71 years (men) 76 years (women)

2 Covid-19 Pandemic in Malaysia

In late December 2019, the World Health Organization (WHO) was alerted to a cluster of pneumonia cases of unknown origin in Wuhan, China.

By early January 2020, this illness was identified as being caused by a novel coronavirus. Malaysia recorded its first COVID-19 cases in January 2020 among Chinese visitors. A significant surge in infections occurred in Malaysia following a large religious gathering in February 2020, which contributed to nearly half of the country’s initial cases. In response to the escalating outbreak, the government imposed partial lockdown measures in March 2020. The same month also marked the country’s first COVID-19 fatalities.

3 Exploratory Data Analysis

3.1 Structure of data

Format

  • date : Date in YYYY-MM-DD format.
  • province : Name of province/state, for countries where data is provided split across multiple provinces/states.
  • country : Name of country/region.
  • lat : Latitude of center of geographic region, defined as either country or, if available, province.
  • long : Longitude of center of geographic region, defined as either country or, if available, province.
  • type : An indicator for the type of cases (confirmed, death, recovered).
  • cases : Number of cases on given date.
  • uid : Country code
  • iso2 : Officially assigned country code identifiers with two-letter
  • iso3 : Officially assigned country code identifiers with three-letter
  • code3 : UN country code
  • combined_key : Country and province (if applicable)
  • population : Country or province population
  • continent_name : Continent name
  • continent_code : Continent code

Details : The dataset contains the daily summary of Coronavirus cases (confirmed, death, and recovered), by state/province.

Source : Johns Hopkins University Center for Systems Science and Engineering (JHU CCSE) Coronavirus website.

3.2 Distribution of Covid-19 in Malaysia

3.2.1 Summary of Malaysia Covid Dataset

Figure 1 : Summary of Malaysia Covid Dataset
      date              province           country               lat      
 Min.   :2020-01-22   Length:3429        Length:3429        Min.   :4.21  
 1st Qu.:2020-11-02   Class :character   Class :character   1st Qu.:4.21  
 Median :2021-08-15   Mode  :character   Mode  :character   Median :4.21  
 Mean   :2021-08-15                                         Mean   :4.21  
 3rd Qu.:2022-05-28                                         3rd Qu.:4.21  
 Max.   :2023-03-09                                         Max.   :4.21  
      long         type               cases            uid     
 Min.   :102   Length:3429        Min.   :    0   Min.   :458  
 1st Qu.:102   Class :character   1st Qu.:    0   1st Qu.:458  
 Median :102   Mode  :character   Median :   22   Median :458  
 Mean   :102                      Mean   : 1763   Mean   :458  
 3rd Qu.:102                      3rd Qu.: 1503   3rd Qu.:458  
 Max.   :102                      Max.   :33406   Max.   :458  
     iso2               iso3               code3     combined_key      
 Length:3429        Length:3429        Min.   :458   Length:3429       
 Class :character   Class :character   1st Qu.:458   Class :character  
 Mode  :character   Mode  :character   Median :458   Mode  :character  
                                       Mean   :458                     
                                       3rd Qu.:458                     
                                       Max.   :458                     
   population       continent_name     continent_code    
 Min.   :32365998   Length:3429        Length:3429       
 1st Qu.:32365998   Class :character   Class :character  
 Median :32365998   Mode  :character   Mode  :character  
 Mean   :32365998                                        
 3rd Qu.:32365998                                        
 Max.   :32365998                                        

Figure 1 shows the overall summary of the Malaysia dataset. The minus values were replaced by 0.

3.2.2 Confirmed Covid Cases in Malaysia

Graphycal view
Figure 2 : Confirmed Covid Cases in Malaysia :

Around the middle of 2021, there is a significant increase in cases, reaching the first major peak. This indicates a substantial outbreak during this period. After first peak, there is a decline in cases, but this is followed by another rise leading to a second major peak in early 2022. This second peak is higher than the first, suggesting a more severe outbreak. After the second peak, there is a noticeable decline in the number of confirmed cases, with smaller fluctuations throughout 2022 and into early 2023. By early 2023, the number of confirmed cases appears to have stabilized at a much lower level compared to the peak periods.

Summary
Table 1 : summary of the confirmed cases in Malaysia :
mean minimum median maximum total
4413.671 0 2078 33406 5044826

Table 1 shows the details of minimum, medium, maximum and total cases of confirmed Covid cases in Malaysia. The mean column gives an idea about the number of confirmed cases related to one day.

3.2.3 Death Covid Cases in Malaysia

Graphycal view
Figure 3 : Death Covid Cases in Malaysia :

From the start of the pandemic in 2020 until early 2021, the number of deaths remained relatively low with minimal fluctuations. The death cases peak dramatically around mid-2021, reaching the highest number of deaths per day. Following the peak, there is a sharp decline in the number of deaths, suggesting effective control measures or increased immunity within the population. There is a second rise in death cases around late 2021 to early 2022, but this peak is not as high as the first.

Summary
Table 2 : summary of the death cases in Malaysia :
mean minimum median maximum total
32.36133 0 5 592 36989

Table 2 shows the details of minimum, medium, maximum and total cases of death Covid cases in Malaysia. The mean column gives an idea about the number of death cases related to one day.

3.2.4 Recover Covid Cases in Malaysia

Graphycal view
Figure 4 : Recovered Covid Cases in Malaysia :

Early 2021, the number of recovered cases starts low and remains relatively stable with minor fluctuations. This period corresponds to the initial stages of the pandemic. Around 2021, there is a noticeable increase in the number of recovered cases, aligning with the increase in active cases observed during this time. The trend shows several peaks and valleys, indicating fluctuations in recovery rates. The absence of data in middle 2021 and beyond 2022 suggests an issue with data reporting or recording during that period. This lack of data makes it challenging to assess the full recovery trend beyond this point.

Summary
Table 3 : summary of the recovered cases in Malaysia :
mean minimum median maximum total
842.2843 0 0 12930 962731

Table 3 shows the details of minimum, medium, maximum and total cases of revovery Covid cases in Malaysia. The mean column gives an idea about the number of recovered cases related to one day.

3.2.4 Active Covid Cases in Malaysia

Graphycal view
Figure 5 : Active Covid Cases in Malaysia :

In the middle of 2021,there was a noticeable increase in active cases, indicating a significant wave of infections. Late 2021 - Early 2022: The number of active cases surged dramatically, reaching over 3 million. This period likely corresponds to a severe outbreak, possibly due to a highly transmissible variant or other factors.

Summary
Table 4 : summary of the active cases in Malaysia :
date active
Min. :2020-01-22 Min. : 0
1st Qu.:2020-11-02 1st Qu.: 10234
Median :2021-08-15 Median : 429658
Mean :2021-08-15 Mean :1487250
3rd Qu.:2022-05-27 3rd Qu.:3503366
Max. :2023-03-09 Max. :4045106

Table 4 shows the details of minimum, medium, maximum and total cases of active Covid cases in Malaysia.

3.2.5 Confirmed, Recovery and Death cases

Figure 6 : Confirmed, Recovery and Death cases :

Figure 6 shows three line graphs comparing the distribution, height, and mean of confirmed COVID-19 cases, deaths, and recoveries from 2020 to 2023. Confirmed cases have multiple peaks with significant fluctuations, the highest reaching around 30,000 cases in mid-2021, resulting in a high mean. Death cases remain relatively flat with minor fluctuations and a much lower height, leading to the lowest mean among the three. Recovery cases increase following the peaks in confirmed cases and show a smoother pattern with substantial peaks, but lower than those of confirmed cases, leading to a moderate mean.

Figure 7 : Overall view

Overall, confirmed cases exhibit the highest and most variable distribution, death cases are consistently low, and recovery cases show an intermediate pattern.

3.3 Comparison with neighbourhood countries

3.3.1 Comparison - Confirmed cases with Indonesia, Philippines, Singapore and Thailand

Figure 8 : Confirmed cases of Indonesia, Philippines, Singapore and Thailand

Figure 8 shows the confirmed COVID-19 cases for Indonesia, Malaysia, Philippines, Singapore, and Thailand from 2020 to 2023. Indonesia has the highest peaks around mid-2021 and early 2022, reaching over 60,000 cases. Malaysia also shows significant peaks during the same periods, but with lower values than Indonesia. The Philippines exhibits multiple peaks, with the highest around early 2022. Singapore has smaller and more frequent peaks, with notable increases around early 2022. Thailand shows a pattern similar to the other countries, with peaks in mid-2021 and early 2022. Overall, the graph illustrates the varying impact of the pandemic across these countries over time.

Table 5 : summary of the Confirmed cases of all five countries :
country population confirmed_mean Total_confirmed percentage
Indonesia 273523621 5895.210 6738225 2.46%
Malaysia 32365998 4413.671 5044826 15.59%
Philippines 109581085 3567.915 4078127 3.72%
Singapore 5850343 1955.638 2235294 38.21%
Thailand 69799978 4144.817 4737526 6.79%

Based on Table 5, Indonesia has the highest number of total confirmed cases, with 6,738,225 cases. In contrast, Singapore has the lowest total confirmed cases, at 2,235,294. When considering the percentage of the population affected, Singapore stands out with the highest percentage of confirmed cases at 38.21%. On the other hand, Indonesia has the lowest percentage of confirmed cases relative to its population, at 2.46%.

3.3.1 Comparison - Death cases with Indonesia, Philippines, Singapore and Thailand

Figure 9 : death cases of Indonesia, Philippines, Singapore and Thailand

Figure 9 depicts the death cases from COVID-19 for Indonesia, Malaysia, the Philippines, Singapore, and Thailand from 2020 to 2023. Indonesia experienced a significant spike in death cases around middle 2021, reaching its peak and then gradually declining. Malaysia and the Philippines also saw notable increases in death cases during the same period, though not as pronounced as Indonesia. Thailand and Singapore maintained relatively lower death counts throughout the period, with minor fluctuations compared to the other countries. The overall trend shows a peak in death cases around mid-2021 for most countries, followed by a decline.

Table 6 : summary of the death cases of all five countries :
country population death_mean Total_death percentage
Indonesia 273523621 140.805774 160941 0.06%
Malaysia 32365998 32.361330 36989 0.11%
Philippines 109581085 57.914261 66196 0.06%
Singapore 5850343 1.506562 1722 0.03%
Thailand 69799978 29.740157 33993 0.05%

Based on Table 6, Indonesia has the highest total number of deaths, with 160,941 deaths. In contrast, Singapore has the lowest total number of deaths, at 1,722. When considering the percentage of the population affected by deaths, Malaysia has the highest percentage at 0.11%. On the other hand, Singapore has the lowest percentage of deaths relative to its population, at 0.03%.

3.3.1 Comparison - Recovered cases with Indonesia, Philippines, Singapore and Thailand

Figure 10 : recover cases of Indonesia, Philippines, Singapore and Thailand

Indonesia and Malaysia had significant increases in recovery cases around middle 2021, with peaks exceeding 40,000 cases. The Philippines also saw notable spikes during this period, though to a lesser extent. Singapore and Thailand maintained relatively lower recovery counts throughout the period, with Thailand showing the least variation.

Table 7 : summary of the recovered cases of all five countries :
country population recovery_mean Total_recovered percentage
Indonesia 273523621 2544.11199 2907920 1.06%
Malaysia 32365998 842.28434 962731 2.97%
Philippines 109581085 1337.61942 1528899 1.4%
Singapore 5850343 55.72353 63692 1.09%
Thailand 69799978 23.52931 26894 0.04%

Based on Table 7, Indonesia has the highest total number of recovered cases, with 2,907,920 recoveries. In contrast, Thailand has the lowest total number of recovered cases, at 26,894. When considering the percentage of the population that has recovered, Malaysia has the highest percentage at 2.97%. On the other hand, Thailand has the lowest percentage of recoveries relative to its population, at 0.04%.

3.4 Comparison with China and USA

We will compare Malaysia with the USA and China. China reported the first COVID-19 case, and both the USA and China have reported the highest number of cases globally. These countries are large, developed nations with significantly different population sizes. Therefore, to ensure a fair comparison, we will consider confirmed, death, and recovered cases as a percentage of their respective populations.

3.4.1 Confirmed cases Comparison

Figure 11 : Confirmed cases as a percentage of the population

The US experienced the highest and most variable rates of confirmed cases, with significant increases in early 2021 and again in 2022. Malaysia also saw notable increases in both 2021 and 2022, but these were lower than those in the US. China maintained the lowest and most stable rate of confirmed cases throughout the period, with minimal fluctuations compared to the other two countries. The overall trend indicates that while the US and Malaysia had significant waves of COVID-19, China managed to keep its confirmed cases relatively low and stable.

3.4.2 Death cases Comparison

Figure 12 : death cases as a percentage of the population

The Figure 12 compares the percentage of death cases and the US shows significant peaks in death percentages around early 2021 and 2022, indicating high mortality during these periods. Malaysia also experiences notable peaks around the same times, but the values are lower compared to the US. In contrast, China maintains a consistently low death percentage throughout the period, with minimal fluctuations. This suggests that the US and Malaysia had more severe outbreaks, whereas China managed to keep the death rate relatively stable and low.

3.4.3 Recovery cases Comparison

Figure 13 : recovery cases as a percentage of the population

The Figure 13 shows that Malaysia experienced a significant peak in recovery rates around late 2021, followed by a sharp decline. The US had a noticeable peak slightly earlier, in middle 2021, also followed by a decline. In contrast, China’s recovery rate remained relatively stable and low throughout the period, showing no significant fluctuations.

4 Conclusions and Discussion

The analysis reveals that confirmed CVIDO-19 cases experienced significant fluctuations with multiple peaks, indicating waves of infection with high variability. In contrast, death cases remained relatively stable with minimal fluctuation, reflecting a lower mean and suggesting improvements in treatment or prevention. Recovery cases followed the trend of confirmed cases with a smoother pattern and moderate mean, indicating effective recovery processes and a correlation with the peaks of confirmed infections.

The data highlights significant differences in the impact of COVID-19 across Indonesia, Malaysia, the Philippines, Singapore, and Thailand. Indonesia experienced the highest peaks in confirmed cases, particularly around mid-2021 and early 2022, and also had the highest total number of cases and deaths. Singapore, while having the lowest total confirmed cases and deaths, saw a high percentage of its population affected by confirmed cases. In terms of recovery, Indonesia led with the highest total recoveries, while Thailand had the lowest numbers and percentage of recoveries. Overall, most countries saw a peak in death cases around middle of 2021, followed by a decline, suggesting a period of severe impact across the region. The variations in case counts, death rates, and recovery rates reflect differing pandemic impacts and healthcare responses among these countries.

The data reveals that the US had the highest and most variable confirmed COVID-19 cases, with major spikes in early 2021 and 2022. Malaysia also saw significant increases in cases during these times but at lower levels than the US. China, however, managed to keep confirmed cases and death percentages low and stable throughout the period, suggesting more effective control measures. The recovery rates peaked later in Malaysia and the US, with sharp declines following, while China’s recovery rate remained steady and low. This indicates that the US and Malaysia faced more intense waves of the virus, whereas China’s stable rates reflect more successful management of the pandemic.